const path = require("path")
module.exports = {
  entry:"./src/app.ts",
  output:{
    path:path.resolve(__dirname,"./dist"),
    filename:"app.js"
  },
  mode:"development",
  resolve:{
    extensions:[".js",".ts",".cjs",".json","..."]
  },
  module:{
    rules:[{
      test:/\.ts$/,
      loader:"ts-loader"
    }]
  }
}